<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Ball Balancing Plate: C:/Users/Luca/Documents/Workspaces/Workspace/BallBalancing_ChibiOSRT/ch_settings/halconf.h Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="logo.jpg"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Ball Balancing Plate
   &#160;<span id="projectnumber">1.0.0</span>
   </div>
   <div id="projectbrief">ChibiOS-RT servos control firmware.</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('halconf_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">C:/Users/Luca/Documents/Workspaces/Workspace/BallBalancing_ChibiOSRT/ch_settings/halconf.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="halconf_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment">    ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010,</span>
<a name="l00003"></a>00003 <span class="comment">                 2011,2012 Giovanni Di Sirio.</span>
<a name="l00004"></a>00004 <span class="comment"></span>
<a name="l00005"></a>00005 <span class="comment">    This file is part of ChibiOS/RT.</span>
<a name="l00006"></a>00006 <span class="comment"></span>
<a name="l00007"></a>00007 <span class="comment">    ChibiOS/RT is free software; you can redistribute it and/or modify</span>
<a name="l00008"></a>00008 <span class="comment">    it under the terms of the GNU General Public License as published by</span>
<a name="l00009"></a>00009 <span class="comment">    the Free Software Foundation; either version 3 of the License, or</span>
<a name="l00010"></a>00010 <span class="comment">    (at your option) any later version.</span>
<a name="l00011"></a>00011 <span class="comment"></span>
<a name="l00012"></a>00012 <span class="comment">    ChibiOS/RT is distributed in the hope that it will be useful,</span>
<a name="l00013"></a>00013 <span class="comment">    but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<a name="l00014"></a>00014 <span class="comment">    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span>
<a name="l00015"></a>00015 <span class="comment">    GNU General Public License for more details.</span>
<a name="l00016"></a>00016 <span class="comment"></span>
<a name="l00017"></a>00017 <span class="comment">    You should have received a copy of the GNU General Public License</span>
<a name="l00018"></a>00018 <span class="comment">    along with this program.  If not, see &lt;http://www.gnu.org/licenses/&gt;.</span>
<a name="l00019"></a>00019 <span class="comment">*/</span>
<a name="l00020"></a>00020 
<a name="l00032"></a>00032 <span class="preprocessor">#ifndef _HALCONF_H_</span>
<a name="l00033"></a>00033 <span class="preprocessor"></span><span class="preprocessor">#define _HALCONF_H_</span>
<a name="l00034"></a>00034 <span class="preprocessor"></span>
<a name="l00035"></a>00035 <span class="preprocessor">#include &quot;<a class="code" href="mcuconf_8h.html">mcuconf.h</a>&quot;</span>
<a name="l00036"></a>00036 
<a name="l00040"></a>00040 <span class="preprocessor">#if !defined(HAL_USE_TM) || defined(__DOXYGEN__)</span>
<a name="l00041"></a><a class="code" href="group___h_a_l___c_o_n_f.html#ga989811956a40f9270a092212a8570632">00041</a> <span class="preprocessor"></span><span class="preprocessor">#define HAL_USE_TM                  FALSE</span>
<a name="l00042"></a>00042 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00043"></a>00043 <span class="preprocessor"></span>
<a name="l00047"></a>00047 <span class="preprocessor">#if !defined(HAL_USE_PAL) || defined(__DOXYGEN__)</span>
<a name="l00048"></a><a class="code" href="group___h_a_l___c_o_n_f.html#ga2311bcc7b41bfba183c9ec1a64a11e93">00048</a> <span class="preprocessor"></span><span class="preprocessor">#define HAL_USE_PAL                 TRUE</span>
<a name="l00049"></a>00049 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00050"></a>00050 <span class="preprocessor"></span>
<a name="l00054"></a>00054 <span class="preprocessor">#if !defined(HAL_USE_ADC) || defined(__DOXYGEN__)</span>
<a name="l00055"></a><a class="code" href="group___h_a_l___c_o_n_f.html#ga413a1b6c0ca2c9e524df50ceac1275fd">00055</a> <span class="preprocessor"></span><span class="preprocessor">#define HAL_USE_ADC                 FALSE</span>
<a name="l00056"></a>00056 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00057"></a>00057 <span class="preprocessor"></span>
<a name="l00061"></a>00061 <span class="preprocessor">#if !defined(HAL_USE_CAN) || defined(__DOXYGEN__)</span>
<a name="l00062"></a><a class="code" href="group___h_a_l___c_o_n_f.html#ga2e351185eace5acfd90b65c9fe796355">00062</a> <span class="preprocessor"></span><span class="preprocessor">#define HAL_USE_CAN                 FALSE</span>
<a name="l00063"></a>00063 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00064"></a>00064 <span class="preprocessor"></span>
<a name="l00068"></a>00068 <span class="preprocessor">#if !defined(HAL_USE_EXT) || defined(__DOXYGEN__)</span>
<a name="l00069"></a><a class="code" href="group___h_a_l___c_o_n_f.html#ga2dd40c0fdd833b861f9241f6d282fe34">00069</a> <span class="preprocessor"></span><span class="preprocessor">#define HAL_USE_EXT                 FALSE</span>
<a name="l00070"></a>00070 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00071"></a>00071 <span class="preprocessor"></span>
<a name="l00075"></a>00075 <span class="preprocessor">#if !defined(HAL_USE_GPT) || defined(__DOXYGEN__)</span>
<a name="l00076"></a><a class="code" href="group___h_a_l___c_o_n_f.html#gab4702b9e1b6fa2869e26c274fccd53f0">00076</a> <span class="preprocessor"></span><span class="preprocessor">#define HAL_USE_GPT                 FALSE</span>
<a name="l00077"></a>00077 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00078"></a>00078 <span class="preprocessor"></span>
<a name="l00082"></a>00082 <span class="preprocessor">#if !defined(HAL_USE_I2C) || defined(__DOXYGEN__)</span>
<a name="l00083"></a><a class="code" href="group___h_a_l___c_o_n_f.html#gae5eb94efa72e401dc17a356b27f4e7e5">00083</a> <span class="preprocessor"></span><span class="preprocessor">#define HAL_USE_I2C                 FALSE</span>
<a name="l00084"></a>00084 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00085"></a>00085 <span class="preprocessor"></span>
<a name="l00089"></a>00089 <span class="preprocessor">#if !defined(HAL_USE_ICU) || defined(__DOXYGEN__)</span>
<a name="l00090"></a><a class="code" href="group___h_a_l___c_o_n_f.html#gac58fde738d018b1233a5441ae4c6245b">00090</a> <span class="preprocessor"></span><span class="preprocessor">#define HAL_USE_ICU                 FALSE</span>
<a name="l00091"></a>00091 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00092"></a>00092 <span class="preprocessor"></span>
<a name="l00096"></a>00096 <span class="preprocessor">#if !defined(HAL_USE_MAC) || defined(__DOXYGEN__)</span>
<a name="l00097"></a><a class="code" href="group___h_a_l___c_o_n_f.html#ga0da24d012c72a79db22e5621b391d3da">00097</a> <span class="preprocessor"></span><span class="preprocessor">#define HAL_USE_MAC                 FALSE</span>
<a name="l00098"></a>00098 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00099"></a>00099 <span class="preprocessor"></span>
<a name="l00103"></a>00103 <span class="preprocessor">#if !defined(HAL_USE_MMC_SPI) || defined(__DOXYGEN__)</span>
<a name="l00104"></a><a class="code" href="group___h_a_l___c_o_n_f.html#gafc4461ac2cc33590839ed91f2e940079">00104</a> <span class="preprocessor"></span><span class="preprocessor">#define HAL_USE_MMC_SPI             FALSE</span>
<a name="l00105"></a>00105 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00106"></a>00106 <span class="preprocessor"></span>
<a name="l00110"></a>00110 <span class="preprocessor">#if !defined(HAL_USE_PWM) || defined(__DOXYGEN__)</span>
<a name="l00111"></a><a class="code" href="group___h_a_l___c_o_n_f.html#gafb7a560610f96b2858d51c36d65f8c2f">00111</a> <span class="preprocessor"></span><span class="preprocessor">#define HAL_USE_PWM                 TRUE</span>
<a name="l00112"></a>00112 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00113"></a>00113 <span class="preprocessor"></span>
<a name="l00117"></a>00117 <span class="preprocessor">#if !defined(HAL_USE_RTC) || defined(__DOXYGEN__)</span>
<a name="l00118"></a><a class="code" href="group___h_a_l___c_o_n_f.html#ga17d20632810c9bb1601a19973977f55c">00118</a> <span class="preprocessor"></span><span class="preprocessor">#define HAL_USE_RTC                 FALSE</span>
<a name="l00119"></a>00119 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00120"></a>00120 <span class="preprocessor"></span>
<a name="l00124"></a>00124 <span class="preprocessor">#if !defined(HAL_USE_SDC) || defined(__DOXYGEN__)</span>
<a name="l00125"></a><a class="code" href="group___h_a_l___c_o_n_f.html#ga06f315a18b911f426da736c42ab20325">00125</a> <span class="preprocessor"></span><span class="preprocessor">#define HAL_USE_SDC                 FALSE</span>
<a name="l00126"></a>00126 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00127"></a>00127 <span class="preprocessor"></span>
<a name="l00131"></a>00131 <span class="preprocessor">#if !defined(HAL_USE_SERIAL) || defined(__DOXYGEN__)</span>
<a name="l00132"></a><a class="code" href="group___h_a_l___c_o_n_f.html#ga720d92b9c3a00d952f6f0c8665b54ebb">00132</a> <span class="preprocessor"></span><span class="preprocessor">#define HAL_USE_SERIAL              TRUE</span>
<a name="l00133"></a>00133 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00134"></a>00134 <span class="preprocessor"></span>
<a name="l00138"></a>00138 <span class="preprocessor">#if !defined(HAL_USE_SERIAL_USB) || defined(__DOXYGEN__)</span>
<a name="l00139"></a><a class="code" href="group___h_a_l___c_o_n_f.html#ga79c970fb20565143ad8b65720c0b2d0e">00139</a> <span class="preprocessor"></span><span class="preprocessor">#define HAL_USE_SERIAL_USB          FALSE</span>
<a name="l00140"></a>00140 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00141"></a>00141 <span class="preprocessor"></span>
<a name="l00145"></a>00145 <span class="preprocessor">#if !defined(HAL_USE_SPI) || defined(__DOXYGEN__)</span>
<a name="l00146"></a><a class="code" href="group___h_a_l___c_o_n_f.html#ga33a3c5bee9ed1f665aace8b88fed9b2b">00146</a> <span class="preprocessor"></span><span class="preprocessor">#define HAL_USE_SPI                 FALSE</span>
<a name="l00147"></a>00147 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00148"></a>00148 <span class="preprocessor"></span>
<a name="l00152"></a>00152 <span class="preprocessor">#if !defined(HAL_USE_UART) || defined(__DOXYGEN__)</span>
<a name="l00153"></a><a class="code" href="group___h_a_l___c_o_n_f.html#ga73220cad2edf2aee77b7ce1b53cacff0">00153</a> <span class="preprocessor"></span><span class="preprocessor">#define HAL_USE_UART                FALSE</span>
<a name="l00154"></a>00154 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00155"></a>00155 <span class="preprocessor"></span>
<a name="l00159"></a>00159 <span class="preprocessor">#if !defined(HAL_USE_USB) || defined(__DOXYGEN__)</span>
<a name="l00160"></a><a class="code" href="group___h_a_l___c_o_n_f.html#gafc8f8fc6010f46f5baae4a369e14974e">00160</a> <span class="preprocessor"></span><span class="preprocessor">#define HAL_USE_USB                 FALSE</span>
<a name="l00161"></a>00161 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00162"></a>00162 <span class="preprocessor"></span>
<a name="l00163"></a>00163 <span class="comment">/*===========================================================================*/</span>
<a name="l00164"></a>00164 <span class="comment">/* ADC driver related settings.                                              */</span>
<a name="l00165"></a>00165 <span class="comment">/*===========================================================================*/</span>
<a name="l00166"></a>00166 
<a name="l00171"></a>00171 <span class="preprocessor">#if !defined(ADC_USE_WAIT) || defined(__DOXYGEN__)</span>
<a name="l00172"></a><a class="code" href="group___h_a_l___c_o_n_f.html#ga39e892a4090185fbdda9bb105bc03b4f">00172</a> <span class="preprocessor"></span><span class="preprocessor">#define ADC_USE_WAIT                TRUE</span>
<a name="l00173"></a>00173 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00174"></a>00174 <span class="preprocessor"></span>
<a name="l00179"></a>00179 <span class="preprocessor">#if !defined(ADC_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)</span>
<a name="l00180"></a><a class="code" href="group___h_a_l___c_o_n_f.html#gac0893cb47e338c2dabad34b974a0a88d">00180</a> <span class="preprocessor"></span><span class="preprocessor">#define ADC_USE_MUTUAL_EXCLUSION    TRUE</span>
<a name="l00181"></a>00181 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00182"></a>00182 <span class="preprocessor"></span>
<a name="l00183"></a>00183 <span class="comment">/*===========================================================================*/</span>
<a name="l00184"></a>00184 <span class="comment">/* CAN driver related settings.                                              */</span>
<a name="l00185"></a>00185 <span class="comment">/*===========================================================================*/</span>
<a name="l00186"></a>00186 
<a name="l00190"></a>00190 <span class="preprocessor">#if !defined(CAN_USE_SLEEP_MODE) || defined(__DOXYGEN__)</span>
<a name="l00191"></a><a class="code" href="group___h_a_l___c_o_n_f.html#ga5294d9d12e4186c781df3b2f1d8bd80b">00191</a> <span class="preprocessor"></span><span class="preprocessor">#define CAN_USE_SLEEP_MODE          TRUE</span>
<a name="l00192"></a>00192 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00193"></a>00193 <span class="preprocessor"></span>
<a name="l00194"></a>00194 <span class="comment">/*===========================================================================*/</span>
<a name="l00195"></a>00195 <span class="comment">/* I2C driver related settings.                                              */</span>
<a name="l00196"></a>00196 <span class="comment">/*===========================================================================*/</span>
<a name="l00197"></a>00197 
<a name="l00201"></a>00201 <span class="preprocessor">#if !defined(I2C_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)</span>
<a name="l00202"></a><a class="code" href="group___h_a_l___c_o_n_f.html#ga7125642404a6fd3d4985d1cb6e1b7b0a">00202</a> <span class="preprocessor"></span><span class="preprocessor">#define I2C_USE_MUTUAL_EXCLUSION    TRUE</span>
<a name="l00203"></a>00203 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00204"></a>00204 <span class="preprocessor"></span>
<a name="l00205"></a>00205 <span class="comment">/*===========================================================================*/</span>
<a name="l00206"></a>00206 <span class="comment">/* MAC driver related settings.                                              */</span>
<a name="l00207"></a>00207 <span class="comment">/*===========================================================================*/</span>
<a name="l00208"></a>00208 
<a name="l00212"></a>00212 <span class="preprocessor">#if !defined(MAC_USE_EVENTS) || defined(__DOXYGEN__)</span>
<a name="l00213"></a><a class="code" href="group___h_a_l___c_o_n_f.html#ga887da1c1383a9e7b45c4464877a7e05e">00213</a> <span class="preprocessor"></span><span class="preprocessor">#define MAC_USE_EVENTS              TRUE</span>
<a name="l00214"></a>00214 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00215"></a>00215 <span class="preprocessor"></span>
<a name="l00216"></a>00216 <span class="comment">/*===========================================================================*/</span>
<a name="l00217"></a>00217 <span class="comment">/* MMC_SPI driver related settings.                                          */</span>
<a name="l00218"></a>00218 <span class="comment">/*===========================================================================*/</span>
<a name="l00219"></a>00219 
<a name="l00223"></a>00223 <span class="preprocessor">#if !defined(MMC_SECTOR_SIZE) || defined(__DOXYGEN__)</span>
<a name="l00224"></a><a class="code" href="group___h_a_l___c_o_n_f.html#ga502a0143be4c303f3006c0888e1cec82">00224</a> <span class="preprocessor"></span><span class="preprocessor">#define MMC_SECTOR_SIZE             512</span>
<a name="l00225"></a>00225 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00226"></a>00226 <span class="preprocessor"></span>
<a name="l00235"></a>00235 <span class="preprocessor">#if !defined(MMC_NICE_WAITING) || defined(__DOXYGEN__)</span>
<a name="l00236"></a><a class="code" href="group___h_a_l___c_o_n_f.html#ga3087dfffa81dd8a0a80ee92746e65fe2">00236</a> <span class="preprocessor"></span><span class="preprocessor">#define MMC_NICE_WAITING            TRUE</span>
<a name="l00237"></a>00237 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00238"></a>00238 <span class="preprocessor"></span>
<a name="l00243"></a>00243 <span class="preprocessor">#if !defined(MMC_POLLING_INTERVAL) || defined(__DOXYGEN__)</span>
<a name="l00244"></a><a class="code" href="group___h_a_l___c_o_n_f.html#gac57e95210b57d6699c23bfb648e0904d">00244</a> <span class="preprocessor"></span><span class="preprocessor">#define MMC_POLLING_INTERVAL        10</span>
<a name="l00245"></a>00245 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00246"></a>00246 <span class="preprocessor"></span>
<a name="l00250"></a>00250 <span class="preprocessor">#if !defined(MMC_POLLING_DELAY) || defined(__DOXYGEN__)</span>
<a name="l00251"></a><a class="code" href="group___h_a_l___c_o_n_f.html#ga6d164ed93ae233b2dc0c35bd19f75224">00251</a> <span class="preprocessor"></span><span class="preprocessor">#define MMC_POLLING_DELAY           10</span>
<a name="l00252"></a>00252 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00253"></a>00253 <span class="preprocessor"></span>
<a name="l00261"></a>00261 <span class="preprocessor">#if !defined(MMC_USE_SPI_POLLING) || defined(__DOXYGEN__)</span>
<a name="l00262"></a><a class="code" href="group___h_a_l___c_o_n_f.html#ga463aaf38dda5f44ab579ddab0a1cf104">00262</a> <span class="preprocessor"></span><span class="preprocessor">#define MMC_USE_SPI_POLLING         TRUE</span>
<a name="l00263"></a>00263 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00264"></a>00264 <span class="preprocessor"></span>
<a name="l00265"></a>00265 <span class="comment">/*===========================================================================*/</span>
<a name="l00266"></a>00266 <span class="comment">/* SDC driver related settings.                                              */</span>
<a name="l00267"></a>00267 <span class="comment">/*===========================================================================*/</span>
<a name="l00268"></a>00268 
<a name="l00273"></a>00273 <span class="preprocessor">#if !defined(SDC_INIT_RETRY) || defined(__DOXYGEN__)</span>
<a name="l00274"></a><a class="code" href="group___h_a_l___c_o_n_f.html#ga8d39f0c9799062f0698d97c26e6fa42d">00274</a> <span class="preprocessor"></span><span class="preprocessor">#define SDC_INIT_RETRY              100</span>
<a name="l00275"></a>00275 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00276"></a>00276 <span class="preprocessor"></span>
<a name="l00282"></a>00282 <span class="preprocessor">#if !defined(SDC_MMC_SUPPORT) || defined(__DOXYGEN__)</span>
<a name="l00283"></a><a class="code" href="group___h_a_l___c_o_n_f.html#ga4f938eff7370feb8de8411e255d21b01">00283</a> <span class="preprocessor"></span><span class="preprocessor">#define SDC_MMC_SUPPORT             FALSE</span>
<a name="l00284"></a>00284 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00285"></a>00285 <span class="preprocessor"></span>
<a name="l00292"></a>00292 <span class="preprocessor">#if !defined(SDC_NICE_WAITING) || defined(__DOXYGEN__)</span>
<a name="l00293"></a><a class="code" href="group___h_a_l___c_o_n_f.html#ga3391c832c171a8606b0fc864766f08ba">00293</a> <span class="preprocessor"></span><span class="preprocessor">#define SDC_NICE_WAITING            TRUE</span>
<a name="l00294"></a>00294 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00295"></a>00295 <span class="preprocessor"></span>
<a name="l00296"></a>00296 <span class="comment">/*===========================================================================*/</span>
<a name="l00297"></a>00297 <span class="comment">/* SERIAL driver related settings.                                           */</span>
<a name="l00298"></a>00298 <span class="comment">/*===========================================================================*/</span>
<a name="l00299"></a>00299 
<a name="l00305"></a>00305 <span class="preprocessor">#if !defined(SERIAL_DEFAULT_BITRATE) || defined(__DOXYGEN__)</span>
<a name="l00306"></a><a class="code" href="group___h_a_l___c_o_n_f.html#gacb4c08ac23f83ac9d58c50ff840de516">00306</a> <span class="preprocessor"></span><span class="preprocessor">#define SERIAL_DEFAULT_BITRATE      115200</span>
<a name="l00307"></a>00307 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00308"></a>00308 <span class="preprocessor"></span>
<a name="l00316"></a>00316 <span class="preprocessor">#if !defined(SERIAL_BUFFERS_SIZE) || defined(__DOXYGEN__)</span>
<a name="l00317"></a><a class="code" href="group___h_a_l___c_o_n_f.html#ga81a9fb00c7a1ce0fe70f263d8fd820e8">00317</a> <span class="preprocessor"></span><span class="preprocessor">#define SERIAL_BUFFERS_SIZE         128</span>
<a name="l00318"></a>00318 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00319"></a>00319 <span class="preprocessor"></span>
<a name="l00320"></a>00320 <span class="comment">/*===========================================================================*/</span>
<a name="l00321"></a>00321 <span class="comment">/* SPI driver related settings.                                              */</span>
<a name="l00322"></a>00322 <span class="comment">/*===========================================================================*/</span>
<a name="l00323"></a>00323 
<a name="l00328"></a>00328 <span class="preprocessor">#if !defined(SPI_USE_WAIT) || defined(__DOXYGEN__)</span>
<a name="l00329"></a><a class="code" href="group___h_a_l___c_o_n_f.html#ga0c9ab1488423fa10a22f506c6e74b563">00329</a> <span class="preprocessor"></span><span class="preprocessor">#define SPI_USE_WAIT                TRUE</span>
<a name="l00330"></a>00330 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00331"></a>00331 <span class="preprocessor"></span>
<a name="l00336"></a>00336 <span class="preprocessor">#if !defined(SPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)</span>
<a name="l00337"></a><a class="code" href="group___h_a_l___c_o_n_f.html#ga36d1818f9631f955f7cc94629b1d5498">00337</a> <span class="preprocessor"></span><span class="preprocessor">#define SPI_USE_MUTUAL_EXCLUSION    TRUE</span>
<a name="l00338"></a>00338 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00339"></a>00339 <span class="preprocessor"></span>
<a name="l00340"></a>00340 <span class="preprocessor">#endif </span><span class="comment">/* _HALCONF_H_ */</span>
<a name="l00341"></a>00341 
</pre></div></div><!-- contents -->
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="halconf_8h.html">halconf.h</a>      </li>

    <li class="footer">Generated on Wed Jun 5 2013 12:23:45 for Ball Balancing Plate by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.6.1 </li>
   </ul>
 </div>


</body>
</html>
